package com.atguigu.structure.decorator;

import java.math.BigDecimal;

public class Milk extends Decorator{
    public Milk(Drink drink) {
        super(drink);
        this.drink.description+="add:milk;";
        this.drink.cost=this.getCost().add(BigDecimal.valueOf(1.5));
    }
}
